import qs from 'qs'

const baseURL = "http://huanlejiam.xhtol.com/"


export default function ({ $axios, redirect }) {

    $axios.onRequest(config => {
        config.baseURL = baseURL;
        config.data = qs.stringify(config.data);
    });

}
